home *** CD-ROM | disk | FTP | other *** search
/ CD Concept 6 / CD Concept 06.iso / mac / UTILITAIRE / File Safari / How To Use File Safari < prev    next >
Encoding:
Text File  |  1995-01-24  |  9.3 KB  |  277 lines  |  [ttro/ttxt]

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                          File Safari
  7.  
  8.                                                                                        or
  9.  
  10.              The Barney Fife Subconscious Prober Primer
  11.  
  12. What the heck is it?
  13.  
  14. Another program I made because all the others like it have some features that are useful, but none have all the features in one app. This is your basic search╨all╨files╨in╨a╨folder╨for╨a╨string app, except it allows you to store commonly╨used directories. It also has a bunch of helpful options.
  15.  
  16. File Safari supports Balloon Help in all menus and dialogs. If the Balloon Help isn╒t enough, read the rest of this file (use TeachText or SimpleText because it contains PICT╒s and styled text).
  17.  
  18. Yes, the main window is a modeless dialog. I don╒t care if I╒m violating a few HIG╒s╤it looks cool.
  19.  
  20. This program was first named ╥Jonny Quest╙, but someone suggested I change it before Hanna╨Barbera╒s lawyers got ahold of my skinny neck. ╥File Safari╙ keeps the adventurous theme, so I didn╒t have to ditch the binoculars. :) Why ╥The Barney Fife Subconscious Prober Primer╙? Because ╥probe╙ jumped out of the thesaurus while I was trying to come up with a name and I╒m a big Andy Griffith Show fan. Any TAGS fan knows what the The Barney Fife Subconscious Prober Primer is (╥Gosh darn you Otis!╙). Why two names? I dunno. I╒m weird.
  21.  
  22. This program (File Safari) is ⌐ 1994 Armpit Studios VII by Steve Mills. This program may NOT be distributed in any way, except for being uploaded to ftp sites, online services, BBS╒s, etc. It may NOT be distributed on CD╒s, disks, or any other medium without permission of the author. This product is freeware. But if you absolutely feel the need to send me money, I won╒t fight it. ;)
  23.  
  24. I assume no responsibility for lost data due to use or misuse of this program, etc, blah blah blah, yatta yatta yatta.
  25.  
  26. Steve Mills
  27. Armpit Studios VII
  28. 2219 Davis St.
  29. Iowa City, IA 52240
  30.  
  31. MuffinHed@aol.com
  32.  
  33. MuffinHead on ISCABBS (bbs.isca.uiowa.edu)
  34.  
  35.  
  36. On to the program╔
  37.  
  38. First, the menus╔
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. Resource Editor []╔
  53. This lets you choose a resource editing application to use for viewing matches found in a file╒s resource fork. The name will be placed into the brackets or it will be [none] if you haven╒t chosen one yet.
  54.  
  55. Ask Before Opening Resource Files
  56. If you want to be asked each time you double╨click on a resource fork match if you want to use your resource editor, check this menu item. Otherwise, un╨check it.
  57.  
  58. TEXT Editor []╔
  59. This lets you choose a default application to view TEXT files. If you don╒t choose a default TEXT editor, the application that created the file will be used. The name will be placed into the brackets or it will be [none] if you haven╒t chosen one yet.
  60. If for some reason the creator application of a file whose match you double╨click can╒t accept the Apple¿ Event to open the file, you will be asked if you would like to open the file with your TEXT Editor instead.
  61. Power users can use the application they╒ve set to be their TEXT Editor to open any type of file by Option╨double╨clicking any file in the results list.
  62.  
  63. Use TEXT Editor
  64. Turn this on to have your default TEXT editor open the files. Turn it off to use the file╒s actual creator.
  65.  
  66. Save Results╔
  67. Use this to save the entire search results to a TEXT file.
  68.  
  69. Quit
  70. Do I really need to tell you what this does?
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78. Cut, Copy, & Paste
  79. So you can copy and paste strings in and out of the Search String in the main window.
  80.  
  81.  
  82. Now the main window╔
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93. Search String
  94. Type the string you want to search for within files here.
  95.  
  96. Search Directory
  97. The starting folder or disk where the search will start. All folders within this folder/disk will also be searched, and folders within those folders, etc╔
  98. Note that in addition to the methods listed later, you can drag & drop folders or disks onto the File Safari icon in the Finder to use them as the Search Dir.
  99.  
  100. The little Search Dir popup menu
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. If you have added directories to this list, you can choose those to be the Search Dir by simply choosing them from this menu. In the following picture, the user has chosen a Search Dir by clicking on the Other╔ button and selecting a directory. Now the menu looks like this:
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. As you can see, the top item, Add Current Search Dir, is enabled. By choosing the Add Current Search Dir menu item, the current Search Dir will be added to the end of this menu. If you want to delete one of the entries, hold down the Option key while choosing the item to delete from the menu. It will be deleted.
  115.  
  116. Other╔
  117. Click this button to choose your Search Directory.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137. The Select xxxx button will select the current directory you are within, not the currently hilited folder or disk. If the user hit Return in the above picture, the resulting dialog box would look like the following:
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158. Now hitting Return would select the folder named ╥PunchClock ─╙ as the Search Dir.
  159.  
  160. Search Options popup menu
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Ignore Case
  171. Turn this on so the case of the Search String is ignored. Example: If the Search String is ╥lerxt╙ and Ignore Case is turned ON, then ╥LERXT╙, ╥Lerxt╙, and ╥lerxt╙ will all be found. If Ignore Case is turned OFF, only ╥lerxt╙ will be found.
  172.  
  173. Ignore Diacriticals
  174. Turn this on so any characters with a diacritical mark will be converted to the same char without the diacritical. Example: If the Search String is ╥Çb¢tt╙ and Ignore Diacriticals is turned ON, then ╥Abott╙, ╥Çbott╙, and ╥Ab¢tt╙ will be found. If Ignore Case is turned OFF, only ╥Çb¢tt╙ will be found. If both Ignore Case and Ignore Diacriticals are turned ON, then ╥ab¢tt╙ and ╥aBOTT╙ will also be found.
  175.  
  176. Data Fork
  177. Turn this on to search the data fork of files. If you don╒t know what that means, leave it turned on.
  178.  
  179. Resource Fork
  180. Turn this on to search the resource fork of files. If you don╒t know what that means, turn it OFF.
  181.  
  182. TEXT Files Only
  183. Turn this on to limit the search to plain ╘TEXT╒ files only. If this is turned on, no matches will be found in WriteNow, PageMaker, or M$ Word documents, for example.
  184.  
  185. 1st Occurrence Only
  186. If you only want to see the 1st occurrence of a match in each file, turn this on. Otherwise all matches in each file will be shown in the results. Yes, I corrected the spelling of the menu item.
  187.  
  188. Search button
  189. Click this to start the search. This will only be enabled if you have entered a Search String and chosen a Search Dir. Hitting the Return and Enter keys is the same as clicking on this button. After the searched has started, this button will change to Stop. The search can be stopped at any time by typing Escape, Command╨. (Command╨Period), Return, or Enter.
  190.  
  191. Hex Search button
  192. Use this button to search for a hexadecimal string instead of an ASCII string. Hex strings can be entered in any of three ways:
  193.  
  194.      C     : 0x12EF or  0X12ef
  195.      Pascal: $12EF  or  $12ef
  196.      Normal: 12EF   or  12ef
  197.  
  198. You can separate each byte╤for example╤by spaces if you prefer to make it easier to read:
  199.  
  200.      6d 75 66 66   <╤╤ Search String is ╥muff╙
  201.  
  202. The Ignore Case option does apply to the resulting string. If Ignore Case is turned on and the previous hex string was searched for, ╥MUFF╙, ╥Muff╙, and ╥muff╙ would all be found. Same with Ignore Diacriticals.
  203.  
  204.  
  205. The main window will look something like this after a search:
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233. Matches
  234. This shows how many matches were found in how many files out of how many files searched.
  235.  
  236. The small area below the Matches area
  237. This will show: The current file being searched during a search; The file╒s full pathname when you click on a match in the results area; Other stuff.
  238.  
  239. The larger area below that
  240. This is the search results area. All matches will be displayed here. Click on a match to fully see the file name. Click and hold to get the popup menu containing the file╒s Type, Creator, and the offset and the line number at which the match was found. Double╨click to open the file. If you╒re using any of the Metrowerks editors or BBEdit, File Safari also sends a goto╨line Apple¿ Event to bring the line containing the match into view. If you╒re using any other editor that supports a goto╨line «, let me know and I╒ll try to add it to the list.
  241. Power users can Option╨double╨click a match to force their TEXT Editor to open the file, no matter what type the file is or which fork the match was found in.
  242.  
  243. The triangle
  244. Use this to hide/show the search results info. You can also type Command╨Tab to toggle the bottom half of the window.
  245.  
  246. The following items are stored in the File Safari Pref╒s file:
  247.   ÑList of Search Dirs (seen in the Search Dir popup). They appear in the order they╒re added to the list.
  248.     ResEditor╒s can change the order by cutting and pasting the ╘alis╒ rez╒s.
  249.   ÑResource Editor.
  250.   ÑState of Ask Before Opening Resource Files menu item.
  251.   ÑTEXT Editor.
  252.   ÑState of Use TEXT Editor menu item.
  253.   ÑData Fork option.
  254.   ÑRez Fork option.
  255.   ÑTEXT Files Only option.
  256.   ÑIgnore Case option.
  257.   ÑIgnore Diacriticals option.
  258.   Ñ1st Occurrence Only option.
  259.   ÑOne other secret option, explained elsewhere.
  260.   ÑThe last Search Dir selected from the Search Dir popup menu.
  261.   ÑWindow position.
  262.  
  263.  
  264. For more info, read the file included in the archive named ╥Release Note.c╙.
  265.  
  266.  
  267. This file was edited with another program of mine that I╒ll release some day. It can edit styled and colored text, ╘TEXT╒ and ╘styl╒ resources, and as a result of a tip I got about a publishing company looking for a small editor that could export RTF files, it can export RTF files.